package com.intellagric.mapper;

import com.intellagric.pojo.TraceProcessQrcode;
import com.intellagric.pojo.TraceProcessQrcodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceProcessQrcodeMapper {
    long countByExample(TraceProcessQrcodeExample example);

    int deleteByExample(TraceProcessQrcodeExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceProcessQrcode record);

    int insertSelective(TraceProcessQrcode record);

    List<TraceProcessQrcode> selectByExample(TraceProcessQrcodeExample example);

    TraceProcessQrcode selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceProcessQrcode record, @Param("example") TraceProcessQrcodeExample example);

    int updateByExample(@Param("record") TraceProcessQrcode record, @Param("example") TraceProcessQrcodeExample example);

    int updateByPrimaryKeySelective(TraceProcessQrcode record);

    int updateByPrimaryKey(TraceProcessQrcode record);
}